package tech.horgee.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.Getter;

/**
 * 菜单类型
 */
@Getter
public enum MenuTypeEnum implements IEnum<Integer> {
    DIR("目录"),
    PAGE("页面"),
    BTN("按钮"),
    ;
    private final String label;

    MenuTypeEnum(String label) {
        this.label = label;
    }

    @Override
    public Integer getValue() {
        return this.ordinal();
    }

}
